﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EntitiesLayer
{
    public class Reservation : EntityObject
    {
        #region Properties

        public int IDCoupe
        {
            get;
            set;
        }

        public Match Match
        {
            get;
            set;
        }

        public int NombrePlacesReserves
        {
            get;
            set;
        }

        public Spectateur Spectateur
        {
            get;
            set;
        }

        #endregion

        #region Constructors

        public Reservation() { }

        public Reservation(int idCoupe, Match match, int nbPlace, Spectateur spectateur, int id)
            : base(id)
        {
            IDCoupe = idCoupe;
            Match = match;
            NombrePlacesReserves = nbPlace;
            Spectateur = spectateur;
        }

        #endregion
    }
}
